﻿
@{
    ViewData["Title"] = "EquipmentShow";
    Layout = "~/Views/Home/Menu.cshtml";
}

<h1>机床列表</h1>
<form class="layui-form">
       <div>
           <div class="layui-col-sm3">
               <div class="layui-form-item" style="margin-bottom: 0;">
                   <label class="layui-form-label">设备编号:</label>
                   <div class="layui-input-inline">
                       <input type="text" id="Num" placeholder="请输入" autocomplete="off" class="layui-input">
                   </div>
               </div>
           </div>
       </div>
       <div>
           <div class="layui-col-sm3">
               <div class="layui-form-item" style="margin-bottom:0;">
                   <label class="layui-form-label">设备名称:</label>
                   <div class="layui-input-inline">
                       <input type="text" id="Name" placeholder="请输入" autocomplete="off" class="layui-input">
                   </div>
               </div>
           </div>
       </div>
    <div class="layui-col-sm3">
        <div class="layui-form-item" style="margin-bottom:0;">
            <label class="layui-form-label">状态:</label>
            <div class="layui-input-block">
                <select id="State">
                    <option value="">请选择状态</option>
                    <option value="1">正常</option>
                    <option value="2">异常</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-btn-container layui-col-sm3">
        <button class="layui-btn layui-bg-blue" type="button" onclick="Show()">查询</button>
        <button class="layui-btn" lay-submit>重置</button>
    </div>
    <div class="layui-form-item">
        <div>
            <div class="layui-inline" class="layui-btn-container">
                <button type="button" class="layui-btn layui-bg-blue" lay-on="test-page-custom">
                    <i class="layui-icon layui-icon-add-1"></i>新增
                </button>
                <!-- 批量删除按钮 -->
                <button type="button" class="layui-btn layui-bg-red" id="batch-delete-btn">
                    <i class="layui-icon layui-icon-delete"></i>批量删除
                </button>
                @* 导出按钮 *@
                @* <button type="button" class="layui-btn layui-bg-blue" id="export-price-btn">
                    <i class="layui-icon layui-icon-export" onclick="Show()"></i>导出
                </button> *@
            </div>
        </div>
    </div>
</form>
<div class="layui-btn-container">
    <script stye="text/html" id="toolbarDemo">
    </script>
</div>


<table class="layui-table" id="carriertable" style="width:500px"></table>
<script src="~/js/equipment/equipmentshow.js"></script>